
<div class="container member-container">
    <?php include $this->getViewFile('../lib/leftmenu'); ?>
    <div class="col-md-10 member-con menber-score-con">
        <div class="title mb-common-title">金额变动记录</div>

        <div class="content">
            <table width="885">
                <thead>
                  <tr>
                    <td align="center">变动类型</td>
                    <td align="center" width="100">备注</td>
                    <td align="center" width="200"><?php echo $sort->link('action_time') ?></td>
                    <td align="center" width="">变动金额</td>
                    <td align="center" width="">用户当前余额</td>
                  </tr>
                </thead>
                <tbody>
                    <?php
                    foreach($models as $rs){
                    ?>
                    <tr>
                        <td align="center"><?php echo MembersMoneyActionModel::getTypeHmtl($rs->type); ?></td>
                        <td align="center" width="100"><?php echo $rs->getNodeHtml();?></td>
                        <td align="center" width="100"><?php echo date('Y-m-d H:i:s',$rs->action_time) ?></td>
                                                
                        <td align="center" width="100"><?php echo $rs->money;?></td>
                        <td align="center" width="100"><?php echo $rs->usermoney;?></td>
                    </tr>
                    <?php
                    }
                    ?>
                    <tr>
                            <td colspan="5" class="pager">
                                <?php
                                $this->widget('CLinkPager', array(
                                    'header' => "",
                                    'firstPageLabel' => '首页',
                                    'lastPageLabel' => '末页',
                                    'prevPageLabel' => '上一页',
                                    'nextPageLabel' => '下一页',
                                    'pages' => $pages,
                                    'footer' => "<span>共<em>{$pages->pageCount}</em>页</span>",
                                    'maxButtonCount' => 5
                                        )
                                );
                                ?>
                            </td>
                        </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="clearfix"></div>
</div>


